Prime Minister Narendra Modi is in Tanzania where he held talks with Tanzanian President John Pombe Joseph Magufuli.